package org.springblade.upgrade.config.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
 * 数据模型
 * @author qp
 * @version 2024-01-02
 */
@TableName("upgrade_package_front_config")
@Data
public class PackageFrontConfig extends BaseEntity  implements PackageConfig{

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "类型")
	private String packageType;

	@ApiModelProperty(value = "模块")
	private String sysModule;

	@ApiModelProperty(value = "保存地址")
	private String sysSaveDir;

	@ApiModelProperty(value = "运行地址")
	private String sysRunDir;

	@ApiModelProperty(value = "启动脚本")
	private String sysStartShell;

	@ApiModelProperty(value = "停止脚本")
	private String sysStopShell;

	@ApiModelProperty(value = "脚本类型")
	private String shellType;

	@Override
	public String getModuleName() {
		return sysModule;
	}
}